package com.yantong.service.xcx;

import com.yantong.pojo.bo.UserInfoBo;
import com.yantong.result.ResultVo;

/**
 *
 * 小程序登录相关
 * @author: juzi
 * @date: 2021/12/2
 * @time: 9:34
 */
public interface XCXLoginService {


    /**
     * 获取用户token
     * @param centreId
     * @param memberId
     * @param code
     * @return
     */
    ResultVo getTokenByCentreIdAndCode(Long centreId, Long memberId, String code);

    /**
     * 注册
     * @param userInfoBo
     * @return
     */
    ResultVo register(UserInfoBo userInfoBo);
}
